import requests


class MDLogin(object):

    @staticmethod
    def login(shopId,phone,password,type):
        """登录api"""
        resp = requests.post(url="http://canzg-wsl.itheima.net:8081/login",
                             json={"shopId": shopId, "phone": phone, "password": password, "type": type})
        return resp

